<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01背景图片</title>
    <style>
        .box1 {
            width: 300px;
            height: 300px;
            background-color: #333;
            /* 
                1. 设置背景图片
                    背景图片可以有多张
            */
            background-image: url(./images/kobe01.jpg), url(./images/kobe02.png);
            background-repeat: no-repeat;

        }
    </style>
</head>

<body>
    <div class="box1">

    </div>
</body>

</html>